package com.songlanyun.modules.marketing.seckill.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.songlanyun.modules.marketing.seckill.entity.SeckillActivity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 秒杀活动表
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-11-23 17:30:11
 */
@Mapper
public interface SeckillActivityDao extends BaseMapper<SeckillActivity> {


    IPage<SeckillActivity> seckillPage(IPage<SeckillActivity> page, @Param("vo") Map<String, Object> params);

    SeckillActivity getNowShopActivity(Long shopId);
}
